package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetMealService {
    public void add(Setmeal setmeal, Integer[] checkGroupIds);
    public PageResult pageQuery(QueryPageBean queryPageBean);
    public Setmeal findById(Integer id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void edit(Integer[] checkgroupIds, Setmeal setmeal);
    public void delete(Integer id);
    public List<Setmeal> findAllSetmeal();
    public Setmeal findByIdSetmeal(int id);
    public List<Map<String,Object>> findSetmealCount();
}
